package com.company.Snack;

/**
 * Created by Administrator on 2016.9.5.
 */
public class Point {
    private int x;
    private int y;
    public Point(int x,int y){
        this.x=x;
        this.y=y;
    }

    public int getX(){
        return x;
    }

    public int getY(){
        return y;
    }

    public boolean equals(Point point){
        return point.y==y&&point.x==x;
    }
}